package com.woniu.smart.service.impl;

import com.woniu.smart.entity.CarType;
import com.woniu.smart.mapper.CarTypeMapper;
import com.woniu.smart.service.CarTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author ：zhulongxing
 * @date ：Created in 2022/10/29 19:52
 * @description：
 * @modified By：
 * @version: $
 */
@Service
public class CarTypeServiceImpl implements CarTypeService {
    @Autowired
    private CarTypeMapper carTypeMapper;

    public List<CarType> selectAllType() {
        return carTypeMapper.selectAllType();
    }
    @Override
    public List<CarType> selectAll() {
        return carTypeMapper.selectAll();
    }

    @Override
    public int deleteByPrimaryKey(Long id) {
        return 0;
    }

    @Override
    public int insert(CarType record) {
        return 0;
    }

    @Override
    public int insertSelective(CarType record) {
        return 0;
    }

    @Override
    public CarType selectByPrimaryKey(Long id) {
        return null;
    }

    @Override
    public int updateByPrimaryKeySelective(CarType record) {
        return 0;
    }

    @Override
    public int updateByPrimaryKey(CarType record) {
        return 0;
    }
}
